package cn.shengongying.service;


import cn.shengongying.model.Customer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户/雇主表 服务类
 * </p>
 *
 * @author RXK
 * @since 2022-01-05
 */
public interface ICustomerService extends IService<Customer> {

    Customer login(String phone);

    List<Customer> listAndPage(String nickName, String telephone, Integer type, int start, int length);

    int calculateCount(String nickName, String telephone, Integer type);

    List<Integer> statistic(Integer type);
}
